# -*- coding=utf-8 -*-

class hospitalObj(object):
    def __init__(self):
        #医院名称
        self.name=None
        #医院等级
        self.grade=None
        #医院地址
        self.address=None
        #医院类型
        self.type=None
        #床位数
        self.bedstr=None
        #省
        self.province=None
        #市
        self.city=None
        #县
        self.town=None
        #链接
        self.href=None

    def getHref(self):
        return self.href
    def setHref(self,value):
        self.href=value

    def getName(self):
        return self.name
    def setName(self, value):
        self.name=value

    def getGrade(self):
        return self.grade

    def setGrade(self,value):
        self.grade=value

    def getAddress(self):
        return self.address
    def setAddress(self,value):
        self.address=value

    def getType(self):
        return self.type
    def setType(self,value):
        self.type=value

    def getBedstr(self):
        return self.bedstr
    def setBedstr(self,value):
        self.bedstr=value

    def getProvince(self):
        return self.province
    def setProvince(self,value):
        self.province=value

    def getCity(self):
        return self.city
    def setCity(self,value):
        self.city=value

    def getTown(self):
        return self.town
    def setTown(self,value):
        self.town=value

    def __str__(self):
        return "name:"+self.name+";href:"+self.href+";grade:"+self.grade+";type:"+self.type+";province:"+self.province+";city:"+self.city+";town:"+self.town+";bedstr:"+self.bedstr+";address:"+self.address


